#include "message.h"

Message::Message()
{
}

Message::Message(QString content, QString time, MsgType msgType)
{
    this->_content = content;
    this->_time = time;
    this->_msgType = msgType;
}

void Message::content(QString content)
{
    this->_content = content;
}

QString Message::content()
{
    return  this->_content;
}

void Message::time(QString time)
{
    this->_time = time;
}

QString Message::time()
{
    return this->_time;
}

void Message::msgType(MsgType msgType)
{
    this->_msgType = msgType;
}

MsgType Message::msgType()
{
    return this->_msgType;
}
